import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

// 引入vant Ui
import Vant from 'vant';
import 'vant/lib/index.css';

Vue.use(Vant);

// 引入echarts
import * as echarts from 'echarts'
Vue.prototype.$echarts = echarts 

// 一级 底部bomBar 
import bomBar from "@/components/first/bomBar.vue"
Vue.component("bomBar",bomBar)

// 二级 顶部topBar 
import topBar from "@/components/second/topBar.vue"
Vue.component("topBar",topBar)

import msgTop from "@/components/second/msgTop.vue"
Vue.component("msgTop",msgTop)

// 三级 顶部innerBar
import innerBar from "@/components/third/innerBar.vue"
Vue.component("innerBar",innerBar)

import innerBar2 from "@/components/third/innerBar2.vue"
Vue.component("innerBar2",innerBar2)

import msgliao from "@/components/third/msgliao.vue"
Vue.component("msgliao",msgliao)

import msghu from "@/components/third/msghu.vue"
Vue.component("msghu",msghu)

import shixiBar from "@/components/third/shixiBar.vue"
Vue.component("shixiBar",shixiBar)

import shixiBar2 from "@/components/third/shixiBar2.vue"
Vue.component("shixiBar2",shixiBar2)

// 引入 mock
require("./mock/index.js")

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
